/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.yuecai.modules.yc_category.service.dto;

import lombok.Data;

import java.io.Serializable;
import java.time.Instant;

/**
* @website https://el-admin.vip
* @description /
* @author dm
* @date 2020-06-24
**/
@Data
public class YcCategoryDto implements Serializable {

    private Long id;

    /** 分类名称 */
    private String name;

    /** 图标 */
    private String pic;

    /** 分类状态1.启用 0禁用 */
    private Boolean status;

    /** 分类排序 */
    private Integer sort;

    /** 添加时间 */
    private Instant createTime;

    /** 修改时间 */
    private Instant updateTime;

    /** 上级分类Id （一级分类为空） */
    private Long upId;

    private Boolean isShowHome;

}